create bar graphs using python